﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Xoohoo.Validation.Attributes
{
    public class SubFolderAttribute : ModelClientValidationRegularExpressionAttribute
    {
        public SubFolderAttribute() : base(@"^[a-zA-Z0-9-_]+(/[a-zA-Z0-9-_]+)*$") { }
    }
}
